/**
 * Created by isoft-work 5 on 1/18/2015.
 */
TEMPLATE.ProductReport = {
   remainHeader: '\
      <th class="date_checkBill hLeft">Mã sản phẩm</th>\
      <th class="date_checkBill hLeft">Tên sản phẩm</th>\
      <th class="date_checkBill hLeft">Số lượng</th>',

   remainList: '\
       <tr>\
         <td class="date_checkBill hLeft">{{maSP}}</td>\
         <td class="date_checkBill hLeft">{{tenSP}}</td>\
         <td class="date_checkBill hLeft">{{tong}}</td>\
      </tr>',

   revenueHeader: '\
      <th class="date_checkBill hLeft">Mã sản phẩm</th>\
      <th class="date_checkBill hLeft">Tên sản phẩm</th>\
      <th class="date_checkBill hLeft">Số lượng</th>\
      <th class="date_checkBill hLeft">Giá bán</th>\
      <th class="date_checkBill hLeft">Tổng tiền</th>',

   revenueList: '\
       <tr>\
         <td class="date_checkBill hLeft">{{maSP}}</td>\
         <td class="date_checkBill hLeft">{{tenSP}}</td>\
         <td class="date_checkBill hLeft">{{soLuong}}</td>\
         <td class="date_checkBill hLeft">{{giaBan}}</td>\
         <td class="date_checkBill hLeft">{{tien}}</td>\
      </tr>',

   saleHeader: '\
      <th class="date_checkBill hLeft">Mã sản phẩm</th>\
      <th class="date_checkBill hLeft">Tên sản phẩm</th>\
      <th class="date_checkBill hLeft">Ngày bắt đầu</th>\
      <th class="date_checkBill hLeft">Ngày kết thúc</th>',

   saleList: '\
       <tr>\
         <td class="date_checkBill hLeft">{{maSP}}</td>\
         <td class="date_checkBill hLeft">{{tenSP}}</td>\
         <td class="date_checkBill hLeft">{{ngayBD}}</td>\
         <td class="date_checkBill hLeft">{{ngayKT}}</td>\
      </tr>'
};

TEMPLATE.RevenueReport = {
   dayHeader: '\
      <th class="date_checkBill hLeft">Mã sản phẩm</th>\
      <th class="date_checkBill hLeft">Tên sản phẩm</th>\
      <th class="date_checkBill hLeft">Số lượng</th>\
      <th class="date_checkBill hLeft">Giá bán</th>\
      <th class="date_checkBill hLeft">Tổng tiền</th>',

   dayList: '\
      <tr>\
         <td class="date_checkBill hLeft">{{maSP}}</td>\
         <td class="date_checkBill hLeft">{{tenSP}}</td>\
         <td class="date_checkBill hLeft">{{soLuong}}</td>\
         <td class="date_checkBill hLeft">{{giaBan}}</td>\
         <td class="date_checkBill hLeft">{{tien}}</td>\
      </tr>',

   monthHeader: '\
      <th class="date_checkBill hLeft">Ngày</th>\
      <th class="date_checkBill hLeft">Tổng tiền</th>',

   monthList: '\
      <tr>\
         <td class="date_checkBill hLeft">{{date}}</td>\
         <td class="date_checkBill hLeft">{{tien}}</td>\
      </tr>',

   quarterHeader: '\
      <th class="date_checkBill hLeft">Quý</th>\
      <th class="date_checkBill hLeft">Tổng tiền</th>',

   quarterList: '\
      {{#if quarter}}\
         <tr>\
            <td class="date_checkBill hLeft"><h1>{{quarter}}</h1></td>\
            <td class="date_checkBill hLeft"><h1>{{total}}</h1></td>\
         </tr>\
      {{else}}\
         <tr>\
         <td class="date_checkBill hLeft">{{thang}}</td>\
         <td class="date_checkBill hLeft">{{tien}}</td>\
         </tr>\
      {{/if}}'
};

TEMPLATE.UserReport = {
   monthHeader: '\
      <th class="date_checkBill hLeft">Mã thành viên</th>\
      <th class="date_checkBill hLeft">Tên</th>\
      <th class="date_checkBill hLeft">Tổng tiền</th>',

   monthList: '\
      <tr>\
         <td class="date_checkBill hLeft">{{maTV}}</td>\
         <td class="date_checkBill hLeft">{{tenTV}}</td>\
         <td class="date_checkBill hLeft">{{tien}}</td>\
      </tr>'
};
